import React from 'react';
import axios from './axios';
import promiseFinally from 'promise.prototype.finally';
import qs from "qs";
import RouterView from "./router";
import 'antd/dist/antd.css';
import './static/css/main.scss';

React.Component.prototype.axios = axios;
React.Component.prototype.qs = qs;

promiseFinally.shim();

function App() {
  return (
    <div className="App">
        <RouterView />
    </div>
  );
}

export default App;
